package prehilife;

public abstract class Creature {

    private int posX;
    private int posY;

    public Creature() {
       
    }

    public void setPosition(int x, int y) {
       posX=x;
       posY=y;
    }

    public int getPositionX() {
        return posX;
    }

    public int getPositionY() {
       return posY;
    }

    public AbstractWorld getMyWorld() {
        throw new UnsupportedOperationException();
    }

    public void setMyWorld(AbstractWorld aw) {
        throw new UnsupportedOperationException();
    }

    public abstract void evolve();

    public abstract void unevolve();
}